package com.ruoyi.domain;



import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * 车辆充卡对象 ds_vehicleownerinfo
 * 
 * @author ruoyi
 * @date 2024-05-24
 */
public class DsVehicleownerinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车主ID */
    private Long userId;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String username;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlateNum;

    /** 车主联系方式 */
    @Excel(name = "车主联系方式")
    private String ownerContact;

    /** 办卡类型 (0: 年卡, 1: 月卡) */
    @Excel(name = "办卡类型 (0: 年卡, 1: 月卡)")
    private Integer vipType;

    /** VIP开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "VIP开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vipStartDate;

    /** VIP结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "VIP结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date vipEndDate;

    /** 充卡的费用 */
    @Excel(name = "充卡的费用")
    private Long chargeAmount;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setLicensePlateNum(String licensePlateNum) 
    {
        this.licensePlateNum = licensePlateNum;
    }

    public String getLicensePlateNum() 
    {
        return licensePlateNum;
    }
    public void setOwnerContact(String ownerContact) 
    {
        this.ownerContact = ownerContact;
    }

    public String getOwnerContact() 
    {
        return ownerContact;
    }
    public void setVipType(Integer vipType) 
    {
        this.vipType = vipType;
    }

    public Integer getVipType() 
    {
        return vipType;
    }
    public void setVipStartDate(Date vipStartDate) 
    {
        this.vipStartDate = vipStartDate;
    }

    public Date getVipStartDate() 
    {
        return vipStartDate;
    }
    public void setVipEndDate(Date vipEndDate) 
    {
        this.vipEndDate = vipEndDate;
    }

    public Date getVipEndDate() 
    {
        return vipEndDate;
    }
    public void setChargeAmount(Long chargeAmount) 
    {
        this.chargeAmount = chargeAmount;
    }

    public Long getChargeAmount() 
    {
        return chargeAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("licensePlateNum", getLicensePlateNum())
            .append("ownerContact", getOwnerContact())
            .append("vipType", getVipType())
            .append("vipStartDate", getVipStartDate())
            .append("vipEndDate", getVipEndDate())
            .append("chargeAmount", getChargeAmount())
            .toString();
    }
}
